package com.tchhy.provider.service

import com.tchhy.provider.api.CommonApi
import com.tchhy.provider.data.common.*
import com.tchhy.provider.data.healthy.request.CheckCaptchaReq
import com.tchhy.provider.data.healthy.response.CheckCaptchaRes
import com.tchhy.provider.data.partner.response.MedicineDetailResp
import com.tchhy.provider.data.partner.MedicineKitApplyInfo
import com.tchhy.provider.data.partner.MedicineKitSalesInfo
import com.tchhy.provider.data.partner.request.ApplyDrugExaminationListResponseInfo
import com.tchhy.provider.data.partner.request.CommitApplyDataReq
import com.tchhy.provider.data.partner.request.SavePaymentInfoReq
import com.tchhy.provider.data.partner.response.*
import com.tchhy.provider.net.RetrofitFactory
import io.reactivex.Observable

/**
 * @author: admin
 * @date: 2019/8/20
 * @des:
 *
 **/
interface CommonService {
    /**
     * @description 安全退出
     * @param
     * @return
     * @author admin
     * @time 2019/8/20
     */
    fun logout(): Observable<EmptyResp>


    /**
     * @description 获取验证码
     * @param
     * @return
     * @author admin
     * @time 2019/8/20
     */
    fun sendCaptcha(smsVO: SmsVO): Observable<EmptyResp>


    /**
     * @description 校验验证码
     * @param
     * @return
     * @author admin
     * @time 2019/8/20
     */
    fun checkCaptcha(checkSmsVO: CheckCaptchaReq): Observable<BaseResp<CheckCaptchaRes>>
}